import { Star, Notebook, Document, HomeFilled, PictureFilled } from '@element-plus/icons-vue';
import { getMainRoute } from '../utils';
// 该路由对象path为/home
const home = {
	...getMainRoute('home', '首页', {
		icon: Star,
	}),
	component: () => import('@/views/main/home')
};
// 重定义path
home.path = '/';
export default {
	sort: 1,
	name: 'home',
	label: '首页',
	// 菜单中隐藏首页模块
	hideMenu: true,
	icon: HomeFilled,
	authKey: 'forcePass',
	routes: [home]
};